<!-- 商品小卡片 -->
<template>
  <div class="prodcard">
    <slot name="prodimg" class="prodimg"></slot>
    <slot name="prodname" class="prodname"></slot>
    <slot name="proddesc" class="proddesc"></slot>
    <slot name="prodprice" class="prodprice"></slot>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang='less' >
.prodcard {
  text-align: center;
  width: 234px;
  height: 260px;
  padding: 20px 0 20px 0;
  margin: 0 0 14px 14px;
  background-color: #fff;
  .prodimg {
    display: block;
    width: 160px;
    height: 160px;
  }
}
</style>
